package dadonas.xmlpersistence;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
*
* Used as class annotation.
* 
* @author dadonas
* 
* @since 2011
* 
*/

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface XMLPersistenceType {
	
	/**
	 * 
	 * Tag or Attribute name. <br />
	 * If is not set, the name of class' property is assumed as the name of the tag.
	 */
	public String name() default "";
}
